package com.eamois.dao.sys;

import java.util.Collection;

import com.eamois.dao.BaseDao;
import com.eamois.domain.sys.Instrument;
import com.eamois.domain.sys.InstrumentType;
import com.eamois.domain.sys.SubMaterial;

public interface InstrumentDao extends BaseDao<Instrument>{
	Collection<Instrument> findAllInstrument();
	Collection<Instrument> findInstrument(String name,String code,boolean isLike);
	Collection<Instrument> findInstrumentByType(InstrumentType type);
	Collection<Instrument> findInstrument(String name,String number,String code,String spec,String precision,String remark,String kind);
	Collection<String> findInstrumentIds();
	boolean findInstrument(String id);
	Instrument findInstrumentById(String id);
	Collection<Instrument> findByBelongId(String id);
}
